<template>
  <div class="hello">
   helloworld
   <div>
     <!-- <router-link to="/HelloWorld/user/12">{{ $route.params.id }}user</router-link>
      <router-link to="/HelloWorld/user/34">{{ $route.params.id }}home</router-link> -->
       <router-link to="/HelloWorld/user/12">user</router-link>
      <router-link to="/HelloWorld/user/34">home</router-link>
      <router-link to="/HelloWorld/echar">echarts</router-link>
   </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
    }
  }
}
</script>


<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
